You can use flyouts
to group related commands together on a toolbar.
A
flyout is a set of commands nested under a single button on a toolbar.
Flyout buttons have a black triangle in the lower-right corner.
To create a flyout, you can start from scratch, or drag an existing
toolbar or drag pull-down menu onto a toolbar. When a pull-down
menu is dragged onto a toolbar, a new toolbar is created and a flyout
is created in the position that the pull-down menu was dropped onto
the toolbar.
The following table shows
the properties for the Zoom flyout as they appear in the Properties
pane.
Properties for the Zoom flyout on the Standard
toolbar
|
Properties pane item
|
Description
|
Example
|
Name
|
String that does not appear in the user interface unless
the property Use Own Button is set to Yes.
|
Zoom
|
Description
|
Text used to describe the element, does not
appear in the user interface.
|
|
Source Toolbar
|
A read-only value used to specify which toolbar
is being referenced to create the flyout.
|
TB_ZOOM
|
Use Own Button
|
Controls whether the last used toolbar button
is set as the current button or not. The possible values are Yes or
No.
|
No
|
Small Image
|
ID string of the small-image resource (16 × 16 bitmap).
The string must include alphanumeric characters with no punctuation
other than a hyphen (-) or an underscore (_). It can also be a user-defined bitmap.
Click the […]
button to open the Select Image File dialog box.
|
RCDATA_16_ZOOM
|
Large Image
|
ID string of the large-image resource (32 × 32 bitmap).
If the specified bitmap is not 32 × 32, the program scales
it to that size. The string must include alphanumeric characters
with no punctuation other than a hyphen (-) or an underscore (_).
It can also be a user-defined bitmap. Click the […] button to open the
Select Image File dialog box
|
RCDATA_16_ZOOM
|
WarningDo not change the
aliases for a toolbar that is being used as a flyout; otherwise
the link between the toolbar and flyout will become broken.
To create a flyout toolbar
from scratch
-
- In the Customize User Interface Editor,
Customize tab, in the Customizations In <file name> pane,
click the plus sign (+) next to the Toolbars tree node to expand
it.
- Right-click the toolbar to which you
want to add a flyout toolbar. Click New Flyout.
A new flyout toolbar (named Toolbar1) is placed
below the toolbar you selected.
- Right-click Toolbar1. Click Rename. Enter
a new toolbar name.
NoteYou can click, wait,
and click again over a toolbar name to edit its name in-place in
the Customizations In <file name> pane.
NoteJust renaming the
toolbar won’t change the name of the flyout. You must select and
rename the flyout independently if you want them to both have the
same name.
- In the Command List pane, drag the command
you want to add to the toolbar flyout in the Customizations In <file
name> pane.
- Click Apply.
To create a flyout toolbar
from another toolbar
-
- In the Customize User Interface Editor,
Customize tab, in the Customizations In <file name> pane,
click the plus sign (+) next to the Toolbars tree node to expand
it.
- Click the plus sign (+) next to the toolbar
to which you want to add a flyout toolbar.
- Locate the toolbar you want to use as
a flyout. Drag the toolbar to a location in the expanded toolbar.
- Click Apply.
To create a flyout toolbar
from a pull-down menu
-
- In the Customize User Interface Editor,
Customize tab, in the Customizations In <file name> pane,
click the plus sign (+) next to the Toolbars tree node to expand
it.
- Click the plus sign (+) next to the toolbar
to which you want to add a flyout toolbar.
- Click the plus sign (+) next to the Menus
tree node to expand it.
- Drag the menu that you want to create
a flyout from and drop it onto the node of the toolbar where you
want to place the flyout.
If the menu is dropped
on a toolbar, a new flyout and toolbar are created.
- Reposition the new flyout on the toolbar.
CommandsCUI
Manages the customized
user interface elements in the product.